﻿#pragma once

#include <QWidget>
#include "json_data.h"

QT_BEGIN_NAMESPACE
namespace Ui { class PositionSettingWid; };
QT_END_NAMESPACE


class ComponentBase;
class PositionSettingWid : public QWidget
{
	Q_OBJECT

public:
	PositionSettingWid(QWidget *parent = nullptr);
	~PositionSettingWid();
	void Init(const PositionJ& pos);
	PositionJ GetPositon();

private slots:
	void on_robotGet_clicked();
private:
	Ui::PositionSettingWid *ui;
	ComponentBase* m_rob = nullptr;
};
